<!DOCTYPE html>
<html>
    <head>
        <title><?php echo $this->pageTitle ?></title>
        <meta name="description" content="囍久 婚礼请柬,婚礼电子请柬,APP婚礼请柬,结婚请柬,电子请柬。">
        <meta name="keywords" content="囍久 婚礼请柬,婚礼电子请柬,APP婚礼请柬,结婚请柬,电子请柬">
        <meta property="qc:admins" content="200126417766071556375" />
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <?php echo CHelper::registerCssFile(Yii::app()->theme->baseUrl . '/resource/css/module-login.css'); ?>
        <?php echo CHelper::registerCssFile("http://cdn.bootcss.com/twitter-bootstrap/3.0.3/css/bootstrap.min.css"); ?>
        <?php echo CHelper::registerCssFile(Yii::app()->theme->baseUrl . '/resource/css/base.css'); ?>
        <?php echo CHelper::registerCssFile(Yii::app()->theme->baseUrl . '/resource/css/xijiu-top.css'); ?>
        <?php echo CHelper::registerScriptFile(Yii::app()->theme->baseUrl . '/resource/js/jquery.js'); ?>
        <?php echo CHelper::registerScriptFile(Yii::app()->theme->baseUrl . '/resource/js/ajaxfileupload.js'); ?>
        <?php echo CHelper::registerScriptFile(Yii::app()->theme->baseUrl . '/resource/js/jquery.ui.widget.js'); ?>
        <script src="http://cdn.bootcss.com/jquery/1.10.2/jquery.min.js"></script>
        <script src="http://cdn.bootcss.com/twitter-bootstrap/3.0.3/js/bootstrap.min.js"></script>


    </head>
    <body>
        <div id="wrap">
            <div id="common-header">
                <div class="common-w1008 clearfix">
                    <a href="###" id="common-logo"></a>
                </div>
            </div>




            <?php
            echo $content;
            ?>



            <footer id="common-footer">
                <div class="container">
                    <p class="clearfix"><a style="color:#fff" href="###">主&nbsp;&nbsp;页</a><i></i><a href="###">关于我们</a><i></i><a href="###">案例展示</a><i></i><a href="###">婚礼支持</a><i></i><a href="###">联系我们</a></p>
                    <p class="copyright">Copyright@2014 vpgame.com All rights reserved  浙ICP备09051785号</p>
                </div>
            </footer>
            <script type="text/javascript">
                $(function() {
                    $(window).resize(function() {
                        var height = $(window).height() - $('#common-header').outerHeight(true) - $('#login-top').outerHeight(true) - $('#common-footer').outerHeight(true) - $('#login-content').outerHeight(true);
                        height = height > 0 ? height : 0;
                        $('#login-content').css('margin-top', height * 0.3).css('margin-bottom', height * 0.7);
                    });
                    $('#login-adver').height($('#login-form').height());
                    $(window).resize();

                    // 兼容IE-input占位标志
                    if (!$.support.htmlSerialize) {
                        $('input[type=text],input[type=password]').each(function() {
                            var that = $(this),
                                    placeholder = that.attr('placeholder') || '',
                                    span = $('<span class="fuck-IE-input-placeholder">' + placeholder + '</span>');
                            that.parent().css('position', 'relative');
                            that.before(span);
                            span.css('top', that.height() / 2 - 5 + 'px');

                            that.keydown(function() {
                                span.hide();
                            }).keyup(function() {
                                if (that.val() == '') {
                                    span.show();
                                }
                            });

                            if (that.val() != '') {
                                span.hide();
                            }

                            span.on('click', function() {
                                that.focus();
                            });
                        });
                    }
                });
            </script>
    </body>
</html>